package com.gsj.maintain.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_maintain_record")
@ApiModel(value="mt对象", description="维修记录表")
public class TabMtRecord {
  @TableId(type = IdType.AUTO)
  @ApiModelProperty(value = "记录表id")
  private Integer id;
  @ApiModelProperty(value = "汽车id")
//  @TableField(value = "car_id")
  private Integer carId;
  @ApiModelProperty(value = "维修厂id")
  private Integer maintainShopId;
  @ApiModelProperty(value = "维修金额")
  private String amount;
  @ApiModelProperty(value = "维修时间")
  private String addTime;
  @ApiModelProperty(value = "维修详情")
  private String remark;
  @ApiModelProperty(value = "操作人")
  private String operator;
  @ApiModelProperty(value = "操作时间")
  private String operationTime;
  @ApiModelProperty(value = "维修编号")
  private String recordId;
  @ApiModelProperty(value = "汽车照片")
  private String carImg;

  @TableField(exist = false)
  private TabMtShop tabmtShop;

  @TableField(exist = false)
  private TbCar tbCar;

}
